﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace parser
{
    class Program
    {
        static void Main(string[] args)
        {
           Scanner.Scanner s = new Scanner.Scanner();
            s.program = "if x = 0 then x:=9 else x:=2 end";
            Console.WriteLine(s.program);
            s.Scan();
            parser.Parser newpa = new Parser();
            bool f = newpa.parse(s);
        
        }
    }
}
